package com.dys.ai.service.impl;

import com.dys.ai.common.api.ApiResponse;
import com.dys.ai.common.api.ResponseEntity;
import com.dys.ai.mapper.SeatMapper;
import com.dys.ai.service.SeatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SeatServiceImpl implements SeatService {

    @Autowired
    private SeatMapper seatMapper;

    @Override
    public ResponseEntity listSeats() {
        return ApiResponse.success("获取座位列表成功",seatMapper.selectSeats());
    }
}
